import React from 'react';
import {useParams} from "react-router-dom";

const FunRouteTwo = () => {
    // console.log(useParams());
    const {id} = useParams();
    return (
        <div>
            <h1>FunRouteTwo</h1>
            <div>id:{id}</div>
        </div>
    );
};

export default FunRouteTwo;